From 9523e186dcf0af995cc96645e30472254db7ae96 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 24 Apr 2006 15:23:24 +0000 Subject: [PATCH] Cleanups --- ChangeLog | 2 ++ ChangeLog.pre-2-10 | 2 ++ gtk/gtkprintoperation-unix.c | 23 ++++++++++++----------- 3 files changed, 16 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index 24f683a82e..84d34ad1dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2006-04-24 Matthias Clasen + * gtk/gtkprintoperation-unix.c: Cleanups. + * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_get_page_setup): Remove redundant code. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 24f683a82e..84d34ad1dc 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,7 @@ 2006-04-24 Matthias Clasen + * gtk/gtkprintoperation-unix.c: Cleanups. + * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_get_page_setup): Remove redundant code. diff --git a/gtk/gtkprintoperation-unix.c b/gtk/gtkprintoperation-unix.c index b5122ae822..1ebc4bb0b6 100644 --- a/gtk/gtkprintoperation-unix.c +++ b/gtk/gtkprintoperation-unix.c @@ -40,20 +40,20 @@ typedef struct { GtkPrintJob *job; /* the job we are sending to the printer */ gulong job_status_changed_tag; - GtkWindow *parent; /* parent window just in case we need to throw error dialogs */ + GtkWindow *parent; /* just in case we need to throw error dialogs */ } GtkPrintOperationUnix; static void unix_start_page (GtkPrintOperation *op, - GtkPrintContext *print_context, - GtkPageSetup *page_setup) + GtkPrintContext *print_context, + GtkPageSetup *page_setup) { } static void unix_end_page (GtkPrintOperation *op, - GtkPrintContext *print_context) + GtkPrintContext *print_context) { cairo_t *cr; @@ -76,8 +76,8 @@ op_unix_free (GtkPrintOperationUnix *op_unix) static void unix_finish_send (GtkPrintJob *job, - void *user_data, - GError *error) + void *user_data, + GError *error) { GtkPrintOperationUnix *op_unix; GtkWindow *parent; @@ -114,16 +114,17 @@ unix_end_run (GtkPrintOperation *op) } static void -job_status_changed_cb (GtkPrintJob *job, GtkPrintOperation *op) +job_status_changed_cb (GtkPrintJob *job, + GtkPrintOperation *op) { _gtk_print_operation_set_status (op, gtk_print_job_get_status (job), NULL); } GtkPrintOperationResult -_gtk_print_operation_platform_backend_run_dialog (GtkPrintOperation *op, - GtkWindow *parent, - gboolean *do_print, - GError **error) +_gtk_print_operation_platform_backend_run_dialog (GtkPrintOperation *op, + GtkWindow *parent, + gboolean *do_print, + GError **error) { GtkWidget *pd; GtkPrintOperationResult result; -- 2.30.2